package com.mycompany.myapp.repository;

import com.mycompany.myapp.domain.OrderItem;
import com.mycompany.myapp.service.dto.OrderItemDTO;
import org.hibernate.annotations.SQLDelete;
import org.springframework.data.jpa.repository.*;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Set;


/**
 * Spring Data  repository for the OrderItem entity.
 */
@SuppressWarnings("unused")
@Repository
public interface OrderItemRepository extends JpaRepository<OrderItem, Long> {


    List<OrderItem> findByOrderId(Long orderId);


}
